GeminiLabs\SiteReviews\Integrations\MyCred\MyCredHook S

Total Complexity 46
Dependencies 7
Dependents 1
Total lines 231
Lines of code 186
Logical lines of code 83
Comment lines 11
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
userLimitExceeded()
S
52 7 24
onReviewStatusChanged()
S
59 7 13
userExceedsLimits()
S
57 5 17
processAuthorPoints()
S
53 4 24
processUserPoints()
S
55 4 22
processReviewerPoints()
S
56 3 20
getPointsFor()
S
65 3 8
userLimitMetaKey()
S
72 2 5
onReviewCreated()
S
71 2 6
getEntryFor()
S
73 2 4
__construct()
S
62 1 11
sanitise_preferences()
S
67 1 7
reviewApproved()
S
73 1 5
reviewTrashed()
S
73 1 5
reviewUnapproved()
S
73 1 5
run()
S
74 1 4
preferences()
S
69 1 6